#! /usr/bin/env python
# -*- coding: utf-8 -*-
from config import settings
def check_at(text):
    """
    判断是否 @ 了机器人
    :param text:
    :return:
    """
    if "@"+settings.ROBORT_NAME not in text:
        return False,None
    return True,text.split(settings.ROBORT_NAME)[1].strip()